#include <libbase/dswbase.h>

CDswbase::CDswbase(LPST_ENV_T pEnv)
: m_pEnv(pEnv)
{
}

CDswbase::~CDswbase()
{
}

void CDswbase::Destroy()
{
	delete this;
}

int CDswbase::SendMessage(EN_MSG_TYPE nMsgType, void* pParam)
{
	return m_pEnv->pOnNotifyFunc(nMsgType, pParam, this);
}

